export function getCache() {
  return parseFloat(localStorage.getItem('cacheData')) || 0;
}

export function setCache(cache) {
  return localStorage.setItem('cacheData', cache);
}

export function removeCache() {
  return localStorage.removeItem('cacheData');
}
